<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <script src="../build/react.js"></script>
  <script src="../build/react-dom.js"></script>
  <script src="../build/browser.min.js"></script>
  <title>demo3</title>
</head>
<body>
  <div id="example"></div>
  <script type="text/babel">
    var arr = [
      <h1>Hello world</h1>,
      <h2>React is awesome</h2>
    ]

    ReactDOM.render(
      <div>{arr}</div>,
      document.getElementById('example')
    );
  </script>
</body>
</html>